<?php
header("content-type:text/html;charset=utf-8");
$mysqli=new mysqli('localhost','root','root','db_mbl');
if($mysqli->connect_errno){
    die();
}

//    $num=$_GET['num']; 

// 	$page=$_GET['page'];

// 	$start=($num-1)*5;

	$sql="select count* from t_sg";
    $result=$mysqli->query($sql);
    echo $result;
?>